package local.blueheart.data.springdatademo.controller;

import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/config")
public class ConfigController {

    @GetMapping("/configlist.do")
//    @PreAuthorize("hasAnyAuthority('ADMIN')")
    public String list(){
        return "config/configlist";
    }

}
